package com.colin.userservice.mapper;

import com.colin.bean.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    Long selectIdByUsername(@Param("username") String username);

    Boolean insertUser(User user);

    User selectUserByUsernameAndPassword(@Param("username") String username, @Param("password") String finalPassword);

    String selectSaltByUsername(@Param("username") String username);
}
